package demo17;

public class Test {
    public static void main(String[] args) {
        int i = 0;
        for (i = 0; i < 10; i++) {
            try {
                if (i < 10) {
                    throw new Exception();
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        System.out.println("Ok");
    }
}
